package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 私信用户列表 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "ChatUser", description = "私信用户列表")
public class ChatUserUpdateParam {

    @Schema(description = "主键")
    private Long id;

    @Schema(description = "发送人ID")
    private Long sendUserId;

    @Schema(description = "接收人ID")
    private Long receiveUserId;

    @Schema(description = "最后一条消息内容")
    private String lastMsg;

    @Schema(description = "发送时间")
    private LocalDateTime createTime;

    @Schema(description = "最后交互时间")
    private LocalDateTime lastSendTime;
}
